package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_PIC_APPLY", title = "京东商品主图申请")
public class VCPrimaryPicApply {

    @FieldMeta(name = "APPLYID", title = "申请id", length = 64, primary = true)
    private String applyId;

    @FieldMeta(name = "STATE", title = "审核状态")
    private Integer state;

    @FieldMeta(name = "APPLYTIME", title = "提交时间", length = 30)
    private String applyTime;

    @FieldMeta(name = "WAREID", title = "商品编号", length = 30)
    private String wareId;

    @FieldMeta(name = "NAME", title = "商品名称", length = 100)
    private String name;

    @FieldMeta(name = "BRANDID", title = "品牌id")
    private Integer brandId;

    @FieldMeta(name = "CATEGORYID", title = "分类id")
    private Integer categoryId;

    @FieldMeta(name = "BRANDNAME", title = "品牌名称", length = 100)
    private String brandName;

    @FieldMeta(name = "SALESTATE", title = "上下柜状态")
    private Integer saleState;

    @FieldMeta(name = "CATEGORYNAME", title = "分类名称", length = 100)
    private String categoryName;

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public String getWareId() {
        return wareId;
    }

    public void setWareId(String wareId) {
        this.wareId = wareId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public Integer getSaleState() {
        return saleState;
    }

    public void setSaleState(Integer saleState) {
        this.saleState = saleState;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCPrimaryPicApply.class);
    }
}
